cmake_minimum_required(VERSION 2.6)

project(shiokaze-session)

include_directories(include)
include_directories(.)
include_directories(${CMAKE_CURRENT_BINARY_DIR})

add_executable(shiokaze-session source/main.cc)
target_link_libraries(shiokaze-session shio)

INSTALL(TARGETS shiokaze-session
  RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
  LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
  ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
)

INSTALL(FILES source/openbox-shiokaze-session
		DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
